package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 版本控制
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_version")
@TableAlias("version")
@ApiModel(value="BusVersion对象", description="版本控制")
public class BusVersion extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "versionId", type = IdType.ASSIGN_ID)
    private Long versionId;

    @ApiModelProperty(value = "版本标识")
    private String versionCode;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "更新内容")
    private String content;

    @ApiModelProperty(value = "更新地址")
    private String url;

    @ApiModelProperty(value = "是否强制更新")
    private Integer force;

    @ApiModelProperty(value = "编号")
    private String versionNo;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

}
